import React, { Component } from 'react';
import { BrowserRouter as Router, Routes, Link, Route, Navigate } from 'react-router-dom'
import Home from './home';

/*
	athor:boluoluo,
	time:2023-02-28 10:00
	一个简单的react+antdUI+ts实现的后台,项目中引入了vite
	路由守卫没写，如果需要鉴权登录的话，就写个路由守卫
*/

class router extends Component {
	render() {
		return (
			<>
				<Router>
					<Routes>
						<Route path={"/*"} element={<Home />} ></Route >
					</Routes>
				</Router>
			</>
		);
	}
}

export default router;